package zust.study.设计模式.结构型模式.桥接模式;

import zust.study.设计模式.结构型模式.桥接模式.api.GreenCircle;
import zust.study.设计模式.结构型模式.桥接模式.api.RedCircle;

/**
 * @author senselyan
 * @date 2018/6/4 16:06
 */
public class BridgePatternDemo {
    public static void main(String[] args) {
        Shape redCircle = new Circle(100,100, 10, new RedCircle());
        Shape greenCircle = new Circle(100,100, 10, new GreenCircle());


        redCircle.draw();
        greenCircle.draw();
    }
}